package com.skd.mall.auth_server.fegin;


import com.skd.common.utils.R;
import com.skd.mall.auth_server.vo.LoginVo;
import com.skd.mall.auth_server.vo.UserRegisterVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("mall-member")
public interface MemberFeginService {
    @RequestMapping("/member/member/register")
    R register(@RequestBody UserRegisterVo vo);

    @RequestMapping("/member/member/login")
    R login(@RequestBody LoginVo vo);
}
